import { createStore } from 'vuex'

export default createStore({
  state: {
    routertitle:{}
  },
  mutations: {
    saverouter(state,routertitle){
      state.routertitle.existence=routertitle.meta.existence?routertitle.meta.existence:false
      state.routertitle.title=routertitle.meta.title?routertitle.meta.title:''
      state.routertitle.bottomTab=routertitle.meta.bottomTab?routertitle.meta.bottomTab:false
      state.routertitle.path = routertitle.path?routertitle.path:''
    }
  },
  actions: {
  },
  modules: {
  }
})
